package com.xiaozeng.search.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.xiaozeng.param.ProductSearchParam;
import com.xiaozeng.utils.Result;

/**
 * @Author: xiaozeng
 * @Date: 2022 11
 * @Description:
 **/
public interface SearchService {
    /**
     * 根据关键字进行商品搜索
     * @param productSearchParam 商品关键字
     */
    Result search(ProductSearchParam productSearchParam) throws JsonProcessingException;
}
